package com.ccys.db.vo.discount;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @program: WhiteCoat
 * @description: 优惠卷的下拉列表返回
 * @author: ZhangJingCan
 * @create: 2024-02-06 11:10
 **/

@Data
@ApiModel("优惠卷的下拉列表返回")
public class PromoCodeFindListSelectVo {

    @ApiModelProperty("id")
    private String id;

    @ApiModelProperty("0:free delivery(快递费用免费);1:fixed $ off bill(账单抵扣金额);2:% off bill(账单打折);3:fixed $ off consultation(问诊费用抵扣金额);4:% off consultation(问诊费用打折);5:fixed $ off delivery(快递费用抵扣金额);6:% off delivery(快递费用打折);7:%off consultation + % off delivery(问诊费用与快递费用同时打折)")
    private Integer type;

    @ApiModelProperty("code")
    private String code;

    @ApiModelProperty("优惠卷标签")
    private String discountLabel;

    @ApiModelProperty("限制次数 0 为无限")
    private Integer limitNumber;

    @ApiModelProperty("结束时间")
    private Date endDate;

    @ApiModelProperty("同一个人是否可重复使用，0 否 1 是")
    private Integer reusable;
}
